package com.demo.persistencia.generica.modelo;

import org.compass.annotations.Searchable;
import org.compass.annotations.SearchableId;
import org.compass.annotations.SearchableMetaData;
import org.compass.annotations.SearchableProperty;

@Searchable
public class Employee  implements java.io.Serializable  {

private static final long serialVersionUID = 1L;
@SearchableId
@SearchableMetaData(name="employeeID")
private String employeeID;
@SearchableProperty
@SearchableMetaData(name="firstName")
private String firstName;
@SearchableProperty
@SearchableMetaData(name="lastName")
private String lastName;
@SearchableProperty
@SearchableMetaData(name="emailAddress")
private String emailAddress;
@SearchableProperty
@SearchableMetaData(name="address")
private String address;
@SearchableProperty
@SearchableMetaData(name="department")
private String department;
/**
* @return the employeeID
*/
public String getEmployeeID() {
return employeeID;
}

/**
* @param employeeID
*            the employeeID to set
*/
public void setEmployeeID(String employeeID) {
this.employeeID = employeeID;
}

/**
* @return the firstName
*/
public String getFirstName() {
return firstName;
}

/**
* @param firstName
*            the firstName to set
*/
public void setFirstName(String firstName) {
this.firstName = firstName;
}

/**
* @return the lastName
*/
public String getLastName() {
return lastName;
}

/**
* @param lastName
*            the lastName to set
*/
public void setLastName(String lastName) {
this.lastName = lastName;
}

/**
* @return the emailAddress
*/
public String getEmailAddress() {
return emailAddress;
}

/**
* @param emailAddress
*            the emailAddress to set
*/
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}

/**
* @return the address
*/
public String getAddress() {
return address;
}

/**
* @param address
*            the address to set
*/
public void setAddress(String address) {
this.address = address;
}

/**
* @return the department
*/
public String getDepartment() {
return department;
}

/**
* @param department
*            the department to set
*/
public void setDepartment(String department) {
this.department = department;
}

@Override
public String toString() {
	return "Employee [employeeID=" + employeeID + ", firstName=" + firstName
			+ ", lastName=" + lastName + ", emailAddress=" + emailAddress
			+ ", address=" + address + ", department=" + department + "]";
}


}